package com.oa.domain;

import java.util.Date;

/**
 * Message entity. @author MyEclipse Persistence Tools
 */

public class Message implements java.io.Serializable {

	// Fields

	private Long mid;
	private String mcontent;
	private Emp emp;
	private Date mtime;
	private String mdesc;

	// Constructors

	/** default constructor */
	public Message() {
	}

	/** full constructor */
	public Message(Long mid, String mcontent, Emp emp, Date mtime,
			String mdesc) {
		this.mid = mid;
		this.mcontent = mcontent;
		this.emp = emp;
		this.mtime = mtime;
		this.mdesc = mdesc;
	}

	// Property accessors

	public Long getMid() {
		return this.mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public String getMcontent() {
		return this.mcontent;
	}

	public void setMcontent(String mcontent) {
		this.mcontent = mcontent;
	}

	public Emp getEmp() {
		return this.emp;
	}

	public void setEmp(Emp emp) {
		this.emp = emp;
	}

	public Date getMtime() {
		return this.mtime;
	}

	public void setMtime(Date mtime) {
		this.mtime = mtime;
	}

	public String getMdesc() {
		return this.mdesc;
	}

	public void setMdesc(String mdesc) {
		this.mdesc = mdesc;
	}

}